package com.example.permissionsystem1_1.businessFunction.dao.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.permissionsystem1_1.common.entity.BasePo;
import lombok.Data;

import java.util.List;


@Data
@TableName("role_info")
public class RoleInfoPo extends BasePo<RoleInfoPo> {
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色编码
     */
    private String roleCode;
    /**
     * 角色描述
     */
    private String roleDesc;

    @TableField(exist = false)
    private List<UserInfoPo> userInfoPos;
    @TableField(exist = false)
    private Long roleId;

}
